import request from '@/utils/request'

export function query(data) {
  return request({
    url: `/report/deviceReport/deviceStateDetail`,
    method: 'post',
    data
  })
}
export function queryDeviceState(data) {
  return request({
    url: `/report/deviceReport/deviceState`,
    method: 'post',
    data
  })
}
export function queryDeviceDetail(data) {
  return request({
    url: `/report/deviceReport/deviceDetail`,
    method: 'post',
    data
  })
}

export function queryDeviceInfo(data) {
  return request({
    url: `/report/deviceReport/selectStateInfo`,
    method: 'post',
    data
  })
}
export function queryDeviceUtilTime(data) {
  return request({
    url: `/report/deviceReport/DeviceObjectTime`,
    method: 'post',
    data
  })
}
export function queryDeviceUtilTimeDetail(data) {
  return request({
    url: `/report/deviceReport/DeviceObject`,
    method: 'post',
    data
  })
}
